package cn.edu.cqut.test4;

import cn.edu.cqut.test3.People;

public class Student extends People {
	int number;
	void tellMessage() {
		super.showPeopleMess();
	}
	public Student(int age, int number) {
		this(age, 2, 2, number);
//		super(age);
//		this.number = number;
		System.out.println("3");
	}
	public Student(int age, int leg, int hand, int number)
	{
		super(age,leg, hand);
		this.number = number;
		System.out.println("4");
	}
	
	@Override
    public String toString() {
    	String str = super.toString()+", 学号："+number;
        return str;
    }
}